From f2977ff3ff6ca76df0dd95fcded9ca053d56a150 Mon Sep 17 00:00:00 2001 From: Jyrki Gadinger Date: Thu, 13 Feb 2025 14:10:36 +0100 Subject: [PATCH] don't use palette.dark for icons in share page Signed-off-by: Jyrki Gadinger --- src/gui/filedetails/NCInputTextEdit.qml | 2 +- src/gui/filedetails/NCInputTextField.qml | 2 +- src/gui/filedetails/ShareDetailsPage.qml | 8 ++++---- src/gui/tray/NCBusyIndicator.qml | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/gui/filedetails/NCInputTextEdit.qml b/src/gui/filedetails/NCInputTextEdit.qml index a2b95fc33..24dacdd3a 100644 --- a/src/gui/filedetails/NCInputTextEdit.qml +++ b/src/gui/filedetails/NCInputTextEdit.qml @@ -23,7 +23,7 @@ TextEdit { id: root readonly property color accentColor: palette.highlight - readonly property color secondaryColor: palette.dark + readonly property color secondaryColor: palette.placeholderText readonly property alias submitButton: submitButton clip: true diff --git a/src/gui/filedetails/NCInputTextField.qml b/src/gui/filedetails/NCInputTextField.qml index 6a9b9f170..be1ad2558 100644 --- a/src/gui/filedetails/NCInputTextField.qml +++ b/src/gui/filedetails/NCInputTextField.qml @@ -23,7 +23,7 @@ TextField { id: root readonly property color accentColor: Style.ncBlue - readonly property color secondaryColor: palette.dark + readonly property color secondaryColor: palette.placeholderText readonly property alias submitButton: submitButton property bool validInput: true diff --git a/src/gui/filedetails/ShareDetailsPage.qml b/src/gui/filedetails/ShareDetailsPage.qml index 2b2eb0b45..79897f73f 100644 --- a/src/gui/filedetails/ShareDetailsPage.qml +++ b/src/gui/filedetails/ShareDetailsPage.qml @@ -277,7 +277,7 @@ Page { horizontalAlignment: Image.AlignHCenter fillMode: Image.Pad - source: "image://svgimage-custom-color/edit.svg/" + palette.dark + source: "image://svgimage-custom-color/edit.svg/" + palette.windowText sourceSize.width: scrollContentsColumn.rowIconWidth sourceSize.height: scrollContentsColumn.rowIconWidth } @@ -501,7 +501,7 @@ Page { horizontalAlignment: Image.AlignHCenter fillMode: Image.Pad - source: "image://svgimage-custom-color/lock-https.svg/" + palette.dark + source: "image://svgimage-custom-color/lock-https.svg/" + palette.windowText sourceSize.width: scrollContentsColumn.rowIconWidth sourceSize.height: scrollContentsColumn.rowIconWidth } @@ -607,7 +607,7 @@ Page { horizontalAlignment: Image.AlignHCenter fillMode: Image.Pad - source: "image://svgimage-custom-color/calendar.svg/" + palette.dark + source: "image://svgimage-custom-color/calendar.svg/" + palette.windowText sourceSize.width: scrollContentsColumn.rowIconWidth sourceSize.height: scrollContentsColumn.rowIconWidth } @@ -692,7 +692,7 @@ Page { horizontalAlignment: Image.AlignHCenter fillMode: Image.Pad - source: "image://svgimage-custom-color/edit.svg/" + palette.dark + source: "image://svgimage-custom-color/edit.svg/" + palette.windowText sourceSize.width: scrollContentsColumn.rowIconWidth sourceSize.height: scrollContentsColumn.rowIconWidth } diff --git a/src/gui/tray/NCBusyIndicator.qml b/src/gui/tray/NCBusyIndicator.qml index e57161897..583b787bc 100644 --- a/src/gui/tray/NCBusyIndicator.qml +++ b/src/gui/tray/NCBusyIndicator.qml @@ -19,7 +19,7 @@ import Style BusyIndicator { id: root - property color color: palette.dark + property color color: palette.windowText property string imageSource: "image://svgimage-custom-color/change.svg/" property int imageSourceSizeWidth: 64 -- 2.30.2